<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-mobile" class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mobile" data-rule="required" class="form-control" name="row[mobile]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-is_voice" class="control-label col-xs-12 col-sm-2">{:__('Is_voice')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_voice" data-rule="required" class="form-control" name="row[is_voice]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label for="c-voice_num" class="control-label col-xs-12 col-sm-2">{:__('Voice_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-voice_num" data-rule="required" class="form-control" name="row[voice_num]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label for="c-voice_time" class="control-label col-xs-12 col-sm-2">{:__('Voice_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-voice_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[voice_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-send_num" class="control-label col-xs-12 col-sm-2">{:__('Send_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-send_num" data-rule="required" class="form-control" name="row[send_num]" type="number" value="1">
        </div>
    </div>
    <div class="form-group">
        <label for="c-code" class="control-label col-xs-12 col-sm-2">{:__('Code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-code" data-rule="required" class="form-control" name="row[code]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-add_time" class="control-label col-xs-12 col-sm-2">{:__('Add_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-add_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[add_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-ip" class="control-label col-xs-12 col-sm-2">{:__('Ip')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ip" data-rule="required" class="form-control" name="row[ip]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-is_last" class="control-label col-xs-12 col-sm-2">{:__('Is_last')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_last" data-rule="required" class="form-control" name="row[is_last]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label for="c-is_type" class="control-label col-xs-12 col-sm-2">{:__('Is_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_type" class="form-control" name="row[is_type]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-req_url" class="control-label col-xs-12 col-sm-2">{:__('Req_url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-req_url" class="form-control" name="row[req_url]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-appShop" class="control-label col-xs-12 col-sm-2">{:__('AppShop')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-appShop" data-rule="required" class="form-control" name="row[appShop]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-promotion" class="control-label col-xs-12 col-sm-2">{:__('Promotion')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-promotion" data-rule="required" class="form-control" name="row[promotion]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-fromUrl" class="control-label col-xs-12 col-sm-2">{:__('FromUrl')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fromUrl" data-rule="required" class="form-control" name="row[fromUrl]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-status" class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="status 0"}checked{/in} /> {$vo}</label> 
            {/foreach}

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
